package com.sunny.service.v2;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author Sunny
 * @date 2020/2/6
 */
@Configuration
@ComponentScan(basePackages = "com.sunny.service")
public class SpringConfig {

    @Bean
    public CustomRpcServer customRpcServer() {
        return new CustomRpcServer(8088);
    }
}
